\hypertarget{structclient}{\section{client Struct Reference}
\label{structclient}\index{client@{client}}
}


This stores each connected client information on the server as a linked list.  




{\ttfamily \#include $<$server.\-h$>$}

\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{structclient_aa9ee781ac58a0d10fa591a570e875473}{int \hyperlink{structclient_aa9ee781ac58a0d10fa591a570e875473}{fd}}\label{structclient_aa9ee781ac58a0d10fa591a570e875473}

\begin{DoxyCompactList}\small\item\em file descriptor of the client \end{DoxyCompactList}\item 
\hypertarget{structclient_a0aea07731bc90d3ffcde234683dd475e}{char {\bfseries username} \mbox{[}\hyperlink{storage_8h_a6c4647395896246d6710ba980c31666c}{M\-A\-X\-\_\-\-U\-S\-E\-R\-N\-A\-M\-E\-\_\-\-L\-E\-N}\mbox{]}}\label{structclient_a0aea07731bc90d3ffcde234683dd475e}

\item 
\hypertarget{structclient_ab48ca18e83c1a50288b7e64624eee17f}{char {\bfseries cryptpasswd} \mbox{[}\hyperlink{storage_8h_aa13f93b74a500b0fd36cf2fd2fa5f30b}{M\-A\-X\-\_\-\-E\-N\-C\-\_\-\-P\-A\-S\-S\-W\-O\-R\-D\-\_\-\-L\-E\-N}\mbox{]}}\label{structclient_ab48ca18e83c1a50288b7e64624eee17f}

\item 
\hypertarget{structclient_a7bf915febe048dbae7408ec2dca23b4e}{bool \hyperlink{structclient_a7bf915febe048dbae7408ec2dca23b4e}{auth}}\label{structclient_a7bf915febe048dbae7408ec2dca23b4e}

\begin{DoxyCompactList}\small\item\em client has been authenticated with the right password \end{DoxyCompactList}\item 
\hypertarget{structclient_aedad431f750d86967093a6e589f3d9ab}{char \hyperlink{structclient_aedad431f750d86967093a6e589f3d9ab}{buf} \mbox{[}\hyperlink{utils_8h_a1eb73c104b484cf18752169509cebfe2}{M\-A\-X\-\_\-\-C\-M\-D\-\_\-\-L\-E\-N}\mbox{]}}\label{structclient_aedad431f750d86967093a6e589f3d9ab}

\begin{DoxyCompactList}\small\item\em The buffer stored in this client's file descriptor. \end{DoxyCompactList}\item 
\hypertarget{structclient_a3893c41476483b57f143ad6e1d1a3fca}{int \hyperlink{structclient_a3893c41476483b57f143ad6e1d1a3fca}{bytesleft}}\label{structclient_a3893c41476483b57f143ad6e1d1a3fca}

\begin{DoxyCompactList}\small\item\em How many data bytes in buf. \end{DoxyCompactList}\item 
\hypertarget{structclient_ae7e180068ff6b55caee566679503eb84}{char $\ast$ \hyperlink{structclient_ae7e180068ff6b55caee566679503eb84}{nextpos}}\label{structclient_ae7e180068ff6b55caee566679503eb84}

\begin{DoxyCompactList}\small\item\em next position to read from buff, if non-\/\-N\-U\-L\-L move this down to buf\mbox{[}0\mbox{]} before reading \end{DoxyCompactList}\item 
\hypertarget{structclient_af79c62fc7272ce6dfd737ae7baf3db27}{struct \hyperlink{structclient}{client} $\ast$ \hyperlink{structclient_af79c62fc7272ce6dfd737ae7baf3db27}{next}}\label{structclient_af79c62fc7272ce6dfd737ae7baf3db27}

\begin{DoxyCompactList}\small\item\em pointer to the next client in the linked list \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
This stores each connected client information on the server as a linked list. 

Definition at line 30 of file server.\-h.



The documentation for this struct was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
\hyperlink{server_8h}{server.\-h}\end{DoxyCompactItemize}
